Imports System.Xml.Serialization

Public Class PropertyRef
    Inherits XEntityModelElementWithDocumentationBase

    ''' <summary>Initializes an instance of the <see cref="PropertyRef" /> class.</summary>
    ''' <param name="namespace">The <see cref="XNamespace" /> of the new element.</param>
    Public Sub New(ByVal [namespace] As XNamespace)
        MyBase.New("PropertyRef", [namespace].ToString())
    End Sub

    ''' <summary>Initializes an instance of the <see cref="PropertyRef" /> class.</summary>
    ''' <param name="other">An <see cref="System.Xml.Linq.XElement"/> object to copy from.</param>
    Public Sub New(ByVal other As XElement)
        MyBase.New(other)
    End Sub

    <XmlAttribute()> _
    Public Shadows Property Name() As String
        Get
            Return Me.@Name
        End Get
        Set(ByVal value As String)
            Me.@Name = value
        End Set
    End Property

End Class
